package com.thememaker.lockstyle.bean.command;

import com.thememaker.lockstyle.bean.ui.BaseView;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by binghui.hang on 2018/2/23.
 * <ExternalCommands>
 * <Trigger action="resume">
 * <Command target="target.animation" value="play"/>
 * </Trigger>
 * <Trigger action="pause">
 * <VariableCommand name="pause_time" expression="#time_sys"/>
 * </Trigger>
 * </ExternalCommands>
 */
@XmlRootElement(name = "ExternalCommands")
public class ExternalCommands extends BaseView {
    private List<Trigger> trigger;

    @XmlElement(name = "Trigger")
    public List<Trigger> getTrigger() {
        return trigger;
    }

    public void setTrigger(List<Trigger> trigger) {
        this.trigger = trigger;
    }
}
